package demo_0324;

public class GdEmployee extends Employee{
    private double gdsalary;
    public GdEmployee(String name, int age, double gdsalary) {
        super(name, age);
        this.gdsalary = gdsalary;
    }
    @Override
    public double weeklySalary() {
        return gdsalary;
    }
}
